var rootPath="ystd";
function statistic()
{
	$.get("/ystd/statistic.jsp?d="+new Date().getTime(),null,statisticeback);
	//每隔一段时间调用自己一次
	window.setTimeout(statistic,5000);
}

function statisticeback(data)
{
	var statistic=$("#statistic");
	statistic.html(data);		
}
